package com.demo.Test;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class Test12 {

    public static void main(String[] args) throws ClassNotFoundException, SQLException {
        String url = "jdbc:sqlite:spring.sqlite";
        Class.forName("org.sqlite.JDBC");
        Connection conn = DriverManager.getConnection(url);
        System.out.println("连接成功");
    }
}
